<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>  
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  <title>用户管理/角色设置</title>
  <%@ include file="../link_script.jsp" %>
</head>
<body>
<html:form action="user.do?method=changeRole_Do">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6" onMouseOver="javascript:changeto();" onMouseout="javascript:changeback();">
          <tr>
            <td width="3%" class="tdClass">选择</td>
            <td width="3%" class="tdClass">序号</td>
            <td width="8%" class="tdClass">角色名称</td>
            <td width="8%" class="tdClass">角色编码</td>
            <td width="*" class="tdClass">...</td>           
          </tr>
          <logic:notEmpty name="roleList">
          <% int i = 0; %>
            <logic:iterate id="var" name="roleList">
            <% i++; %>
              <tr>
                <td class="STYLE12"><input type="radio" name="roleID" value="${var.roleID}" ${var.selected } /></td>
                <td class="STYLE12"><%=i %></td>
                <td class="STYLE11">&nbsp;<bean:write name="var" property="roleName" /></td>
                <td class="STYLE12"><bean:write name="var" property="roleCode" /></td>
                <td class="STYLE12">&nbsp;&nbsp;<html:hidden property="userID" value="${userID}" /></td>
              </tr>
            </logic:iterate>
          </logic:notEmpty>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6">
          <tr>
            <td width="100%" class="STYLE12"><html:submit value="提交" style= "height:20px;width:40px" />&nbsp;&nbsp;<html:reset value="取消" style= "height:20px;width:40px" /></td>
          </tr> 
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../no_page.jsp"%>
</table>
</html:form>
</body>
</html>

